<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .item {
            height: 50px;
            width: 400px;
            border: 1px solid red;
            display: flex;
            align-items: center;
        }
        .title {
            font-size: 12px;
            border: 1px solid red;
        }
        .icon{
            font-size: 20px;
            border: 1px solid red;
        }
    </style>
</head>
<body>
    <div class="item">
        <span class="title">这是一个标题</span>
        <span class="icon">这是一个icon</span>
    </div>
</body>
</html>